package com.shun.upms.api;

import com.shun.common.R;
import com.shun.common.RC;
import org.springframework.stereotype.Component;

/**
 * 权限熔断方法
 * @author clever
 * @since 2021-09-29
 */
@Component
public class ShunUpmsApiFallbackClient implements ShunUpmsApi {

    @Override
    public R checkUserPasswd(String userAccount, String password) {
        return RC.FEIGN_FUSE_ERROR.toR();
    }

    @Override
    public R checkUserTel(String tel) {
        return RC.FEIGN_FUSE_ERROR.toR();
    }

    @Override
    public R getAdminUserInfo() {
        return RC.FEIGN_FUSE_ERROR.toR();
    }

    @Override
    public R getUserBtns() {
        return RC.FEIGN_FUSE_ERROR.toR();
    }

    @Override
    public R getInfo() {
        return RC.FEIGN_FUSE_ERROR.toR();
    }
}
